package com.be.beadmin.design.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-02-19
 * @Description 工序定义
 */
@Entity
@Table(name="T_DM_Process")
@Getter
@Setter
public class Process extends BaseEntity {

    @Column(name = "ShowSelfInspection",columnDefinition = "int COMMENT '是否显示自检清单(0/1)'")
    private Integer showSelfInspection;

    @Column(name = "IsProductionProcess",columnDefinition = "int COMMENT '是否属于生产工序(0/1)'")
    private Integer isProductionProcess;

    @Column(name = "ProcessName",columnDefinition = "VARCHAR(50) COMMENT '工序名称'")
    private String processName;

    @Column(name = "ProcessCode",columnDefinition = "VARCHAR(50) COMMENT '工序编码'")
    private String processCode;

    @Column(name = "Memo",columnDefinition = "VARCHAR(50) COMMENT '备注'")
    private String memo;

    @Column(name = "Reserved",columnDefinition = "VARCHAR(50) COMMENT '预留'")
    private String reserved;

}
